﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MsTestUtilities.SolutionAnalysis;

namespace MsTestUtilitiesTests.SolutionAnalysisTests.SolutionTests
{
    [TestClass]
    public abstract class SolutionParsingFixture
    {
        protected abstract string SolutionFileText { get; }

        [TestInitialize]
        public void Setup()
        {
            var reader = new SolutionFileReader();
            SolutionFile = reader.Parse(SolutionFileText);
        }

        protected SolutionInfo SolutionFile { get; private set; }            
    }    
}
